package com._23DesignPattern._filter;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author huangya
 * @date 2022/9/16
 */
public class DefaultServiceContainer implements ServiceContainer {

    @Autowired
    ProcesserChain processerChain;

    @Override
    public void process() {
        processerChain.addProcesser(new ProcesserImpl111());
        processerChain.doProcess();
    }
}
